﻿using Autofac.Core.Lifetime;
using Autofac.Core.Registration;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MugenMvvmToolkit;

namespace MugenMvvmToolkitTest.Ioc
{
    [TestClass]
    public class AutofacIocAdapterTest : IocAdapterBaseTest<AutofacIocAdapter>
    {
        #region Constructors

        public AutofacIocAdapterTest() : base(() => new AutofacIocAdapter(new LifetimeScope(new ComponentRegistry())))
        {
        }

        #endregion

        #region Overrides of IocAdapterBaseTest<AutofacIocAdapter>

        public override void TestUnbind()
        {
            //Not supported
        }

        #endregion
    }
}